#pragma once

#include "ofMain.h"

#define HIGH_SCORE_NUM 10

#define LEVEL_WIDTH 5
#define LEVEL_HEIGHT 5

class testApp : public ofBaseApp{
    
public:
    
    int highScores[HIGH_SCORE_NUM];
    
    ofPoint grid[LEVEL_WIDTH][LEVEL_HEIGHT];
    
    void setup();
    void update();
    void draw();
    
    void keyPressed  (int key);
    void keyReleased(int key);
    void mouseMoved(int x, int y );
    void mouseDragged(int x, int y, int button);
    void mousePressed(int x, int y, int button);
    void mouseReleased(int x, int y, int button);
    void windowResized(int w, int h);
    void dragEvent(ofDragInfo dragInfo);
    void gotMessage(ofMessage msg);
    
    void loadLevel();
    
    void saveFile();
    void loadFile();
    
    void loadHighScores();
};
